package com.jic.veteran.mapper;

import com.jic.veteran.model.InvoiceInfo;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface InvoiceInfoMapper {
    int insert(@Param("item") InvoiceInfo invoiceInfo);

    int update(@Param("item") InvoiceInfo invoiceInfo,@Param("id") Long id);

    List<InvoiceInfo> getInvoiceInfoByOpenId(@Param("openId") String openId, @Param("invoiceType") String invoiceType);
}
